﻿<!--#include File="../Config/Config.asp"-->
<!--#include File="CheckLogin.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=SiteName%></title>
<link href="Style/Layout.css" rel="stylesheet" type="text/css" />
<link href="Style/LeftFrame.css" rel="stylesheet" type="text/css" />
<link href="Style/Loading.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../Common/Flash.js"></script> 
<script language="javascript" type="text/javascript" src="Common/Menu.js"></script>
<script language="javascript" type="text/javascript" src="Common/Prototype.js"></script>
<script language="javascript" type="text/javascript" src="Common/MenuOnclickEvent.js"></script>
<script language="javascript" type="text/javascript" src="Common/Utils.js"></script>
<script language="javascript" type="text/javascript" src="Common/DivDialog.js"></script>
<script language="javascript" type="text/javascript" src="Common/Dialog.js"></script>
<script type="text/javascript">
<!--
GetMenuID();//*这两个function的顺序要注意一下，不然在Firefox里GetMenuID()不起效果
-->

//<![CDATA[
function fDragging(obj, e, limit){
if(!e) e=window.event;
var x=parseInt(obj.style.left);
var y=parseInt(obj.style.top);
var x_=e.clientX-x;
var y_=e.clientY-y;
if(document.addEventListener){
	document.addEventListener('mousemove', inFmove, true);
	document.addEventListener('mouseup', inFup, true);
} else if(document.attachEvent){
	document.attachEvent('onmousemove', inFmove);
	document.attachEvent('onmouseup', inFup);
}
inFstop(e);    
inFabort(e)
function inFmove(e){
	var evt;
	if(!e)e=window.event;
	if(limit){
		var op=obj.parentNode;
		var opX=parseInt(op.style.left);
		var opY=parseInt(op.style.top);
		
		if((e.clientX-x_)<0) return false;
		else if((e.clientX-x_+obj.offsetWidth+opX)>(opX+op.offsetWidth)) return false;
		
		if(e.clientY-y_<0) return false;
		else if((e.clientY-y_+obj.offsetHeight+opY)>(opY+op.offsetHeight)) return false;
		//status=e.clientY-y_;
	}
	obj.style.left=e.clientX-x_+'px';
	obj.style.top=e.clientY-y_+'px';
	inFstop(e);
} 
function inFup(e){
var evt;
if(!e)e=window.event;
if(document.removeEventListener){
	document.removeEventListener('mousemove', inFmove, true);
	document.removeEventListener('mouseup', inFup, true);
} else if(document.detachEvent){
	document.detachEvent('onmousemove', inFmove);
	document.detachEvent('onmouseup', inFup);
}
inFstop(e);
}
function inFstop(e){
	if(e.stopPropagation) return e.stopPropagation();
	else return e.cancelBubble=true;            
}
function inFabort(e){
	if(e.preventDefault) return e.preventDefault();
	else return e.returnValue=false;
}
}
//]]>
</script>
</head>
<body scroll="no">
<div id="layout" style="width: 100%; height: 100%;" class="wrapper">
<div id="container">
<table width="100%" border="0" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<!-----头部开始----->
<div id="header">
<div class="logo"><img src="Images/expo2.jpg" alt="expo cms" border="0"/> </div>
<div id="right">
<table width="50%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td style="color:#FFFFFF;height:35px; text-align:right">
<script>document.write(Time());</script>，<%=UserName%>，欢迎回来！<a href="../index.asp" class="nvg" title="预览网站" target="_blank">预览网站</a> <a href="http://www.zhujianqiang.com" class="nvg" title="帮助中心" target="_blank">帮助中心</a> <a href="#" onclick="DivDialog.Logout(Logout_Msg,'Logou()');" class="nvg">退出系统</a>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</div>
</div>
<!-----头部结束----->
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="wrapper">
<!-----中间开始----->
<div id="div_Content" class="wrapper">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="Div_Left" valign="top" width="196px">
<!-----左菜单开始----->
<script language="javascript">
//构建菜单
createMenu();	
</script>
<!-----左菜单结束----->
</td>
<td valign="top" align="left" class="content">
<div id="div_Main" class="content">
<div id="div_Main_Page">
<!-----导航开始----->
<div id="nav">
  <div id="tabtitle" class="right">
    <table cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td width="12"><a href="#" id="ATabLeft" onclick="SelectTabList('left')"><img id="imgBtnLeft" src="images/icon-pve.gif" width="12" height="12" border="0" /></a></td>
    <td style="width: 5px;"></td>
    <td width="12"><a href="#" id="ATabRight" onclick="SelectTabList('right')"><img id="imgBtnRight" src="images/icon-next.gif" width="12" height="12" border="0" /></a></td>
    </tr>
    </table>
  </div>
</div>
<!-----导航结束----->
<!-----主体内容开始----->
<div>
<div id="div_Main_Content"></div>
</div>
<!-----主体内容结束----->
</div>
</div></td>
</tr>
</table>
</div>
<!-----中间结束----->
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<div id="buttom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="198"><img src="images/buttom-left.gif" /></td>
<td class="copyright">Copyright &copy; 2005-<%=Year(Now())%> &nbsp;&nbsp;&nbsp;&nbsp;<%=sitename%>网站管理系统 &nbsp;&nbsp;&nbsp;&nbsp;All Rights Reserved.</td>
<td align="right" width="161"><img src="images/buttom-right.gif" /></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</div>
<script type="text/javascript">
CreateNewTab("WelCome.asp","Default","首 页");
ReturnDefault();
if(DivDialog.isExistById("currentSite")!=null && DivDialog.isExistById("my-site")!=null){
	if($("currentSite").offsetWidth > ($("my-site").offsetWidth+2)){
		$("my-site").style.width = $("currentSite").offsetWidth + "px";
	}
	else{
		$("currentSite").style.width = $("my-site").offsetWidth + 2 + "px";
	}
}
</script>
</body>
</html>
<%
call closeconn()
%>